package com.freesky.biz.psbc.mapper;

import com.freesky.biz.psbc.domain.TPsbcCoupon;
import com.freesky.biz.psbc.domain.TPsbcStock;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PsbcCouponMapper {

    public List<TPsbcCoupon> findList(TPsbcCoupon entity);

    public List<TPsbcCoupon> selectUnPushList(@Param("consumeTime") String consumeTime);

    public TPsbcCoupon selectPsbcCouponById(@Param("id") String id);

    //获取卡号信息
    public String getPsbcCardByReceiveId(@Param("receiveId") String receiveId);

    public int updatePushFlag(@Param("id") String id,
                              @Param("pushFlag") String pushFlag,
                              @Param("pushMsg") String pushMsg);
}
